Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vmsdk/test: update tests #10

Merged
merged 1 commit into from
Feb 29, 2024
Merged

vmsdk/test: update tests #10

merged 1 commit into from
Feb 29, 2024

Conversation

Ruoyu-y
Copy link
Member

@Ruoyu-y Ruoyu-y commented Feb 29, 2024

  • use replay_cc_eventlog() api instead of self implemented code

Comment on lines +128 to +133
for idx in range(TdxRTMR.RTMR_COUNT):
if idx not in rtmrs.keys():
rtmrs[idx] = {}
rtmrs[idx][alg.alg_id] = bytearray(TdxRTMR.RTMR_LENGTH_BY_BYTES)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please help adding some comments for this special handling. Thanks!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@intelzhongjie
Copy link
Collaborator

LGTM if the comments mentioned above is ready.
Thanks!

* use replay_cc_eventlog() api instead of self implemented code

Signed-off-by: Ruoyu Ying <[email protected]>
@intelzhongjie
Copy link
Collaborator

LGTM. Ship it!

@Ruoyu-y Ruoyu-y merged commit 50b8a45 into cc-api:main Feb 29, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants